package com.pearadmin.pro.modules.weixin.service;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface WeiChatCallbackService {
    /**
     * 微信回调
     * @param request
     * @param msg_signature
     * @param timestamp
     * @param nonce
     * @return
     */
    String doCallBack(HttpServletRequest request, String msg_signature, String timestamp, String nonce);

    /**
     * 企业微信 回调验证
     * @param msg_signature
     * @param timestamp
     * @param nonce
     * @param echostr
     * @return
     */
    String verifyURL(String msg_signature, String timestamp, String nonce, String echostr);


}
